obj-m += reverse.o
CFLAGS_reverse.o += -DDEBUG

all:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean


# obj-m := hello.o 
# KERNELBUILD :=/lib/modules/`uname -r`/build

# all:
	make -C $(KERNELBUILD) M=$(shell pwd) modules 
# clean: 
	rm -rf *.o *.ko *.mod.c .*.cmd .tmp_versions
